package com.vhall.component.entity.account.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author lsl
 * @since 2021/4/26
 */
@Data
public class ActionsRspVO implements Serializable {

    private static final long serialVersionUID = -9306613697911275L;

    @JsonProperty("action_id")
    private Integer actionId;

    @JsonProperty("action_name")
    private String actionName;

    @JsonProperty("controller_name")
    private String controllerName;

    @JsonProperty("created_at")
    private LocalDateTime createdAt;

    @JsonProperty("updated_at")
    private LocalDateTime updatedAt;

    @JsonProperty("deleted_at")
    private LocalDateTime deletedAt;

    @JsonProperty("desc")
    private String desc;

    @JsonProperty("pid")
    private Integer pid;

    @JsonProperty("role_id")
    private Integer roleId;

    private List<ActionsRspVO> children;

}
